<%@page import="bean.JoinVo"%>
<%@page import="bean.SemiDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="./js/join.js"></script>
</head>
<body>

<%
String r=request.getParameter("mid");
JoinVo vo=new JoinVo();
SemiDTO dto = new SemiDTO();
vo.setMid(r);
dto.setVo(vo);
if(dto.jung()){ 
%>
	<h3>'<%=dto.getVo().getMid() %>'<font color="#ff0000"> 은(는)중복된 아이디 입니다.</h3></font>
<%
}else if(dto.getVo().getMid()==""){%>
	<h3><font color="#ff0000">아이디를 입력해주세요.</font></h3>

<% }else{	
%>
<h3>'<%=dto.getVo().getMid() %>'<font color="#ff0000"> 은(는)사용가능한 아이디 입니다.</h3></font>
	
<%} %>
<form name=c>
<input type="button" value="닫기" onclick="window.close()" name=cc/>
</form>
</body>
<script>chack();</script>
</html>